//
//  CouponEmptyView.m
//  ChunLaiZhuangClient
//
//  Created by xielihui on 16/4/9.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import "CouponEmptyView.h"

@implementation CouponEmptyView

- (id)initWithFrame:(CGRect)frame {
    if(self = [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor clearColor];
        NSArray *views = [[NSBundle mainBundle] loadNibNamed:@"CouponEmptyView" owner:self options:nil];
        UIView *view = views[0];
        [self addSubview:view];
        [view mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.bottom.left.right.equalTo(@(0));
        }];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
